cmake_minimum_required(VERSION 3.0)

project(common_function C)

set(HOME ${CMAKE_CURRENT_SOURCE_DIR})
set(SDK_NAME common)

set(COMPILE_LIST FALSE CACHE BOOL "是否编译list相关接口")
add_compile_options("-Wall" "-Werror")

add_subdirectory(src) 

if(UNIT_TEST)

add_subdirectory(${HOME}/third/check)
add_subdirectory(${HOME}/test)
add_subdirectory(${HOME}/demos)

endif(UNIT_TEST)

 
